<div class="modal-header">
    <button type="button" class="close" ng-click="cancel()">×</button>
    <i class="fa fa-inbox"></i><span class="label label-tag label-primary">编辑知识库类型</span>
</div>
<div class="modal-body">
  <div class="row form-group" ng-class="{'has-error': showError('typeName')}">
         <label class="col-md-2 control-label" for="typeName">知识库类型名称:</label>
         <div class="col-md-9">
               <input  class="form-control" name="typeName" ng-model="editNode.typeName" class="form-control"  placeholder="知识库类型名称" />
         </div> 
  </div>
  <div class="row form-group" ng-class="{'has-error': showError('parentName')}">
         <label class="col-md-2 control-label" for="parentName">上层节点:</label>
         <div class="col-md-9">
               <input  class="form-control" name="parentName" ng-model="parentName" placeholder="上层知识库类型名称" />
         </div> 
  </div>
</div>  
<div class="modal-footer">
  <button class="btn btn-primary" ng-click="ok()" translate="modal.button.OK">OK</button>
  <button class="btn btn-primary btn-o" ng-click="cancel()" translate="modal.button.CANCEL">Cancel</button>
</div>